package com.example.newsdaily;

import com.example.newsdaily.slice.DiscoverAbilitySlice;
import com.example.newsdaily.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        /*addActionRoute("discover", DiscoverAbility.class.getName());
        addActionRoute("collection", CollectionAbility.class.getName());
        addActionRoute("my", MyApplication.class.getName());*/
    }
}
